package com.koalac.ironman.net.pojo.request;

import android.content.Context;

import com.koalac.ironman.net.asynchttpclient.RequestParams;

public class ValidateWeixin extends ClientProtocolBase{
    /**
     * 微信返回唯一标识用户的token
     */
   private String openid;
/**
    * 微信用户昵称
    */
   private String nickname;
   /**
    * 我也不知道叫啥，传过来就是了
    */
   private String unionid;
   /**
    * 微信用户头像
    */
   private String  headimgurl;
    
    public ValidateWeixin() {
	super(API.VALIDATE_WEIXIN);
    }
    
    @Override
    public RequestParams getArgus(Context context) {
        map =  super.getArgus(context);
        map.put("openid", openid);
        map.put("nickname", nickname);
        map.put("unionid", unionid);
        map.put("headimgurl", headimgurl);
        return map;
    }
    
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }
    
}
